SCTimer/PWM (SCT) PWM Decode example
=================================================
Example description
---------------------------
LPC5411x SCT PWM Decode Program for LPCXpresso board
This example is using the SCTimer/PWM capture and capture control features. 
It implements a PWM decoder which measures the duty cycle of a PWM signal 
and determines whether it is above (max_width) or below (min_width) a specific value. 
The PWM signal frequency is assumed to be 10 kHz. Two output signals
(width_error and timeout) are included to indicate when the 10 kHz signal has an error or is missing.
SCT0_OUT4 = P1.10  = timeout(green LED)
SCT0_OUT2 = P0.29  = width_error(red LED)


Special connection requirements
-------------------------------
LPC54114 LPCXpresso board:
Apply 10kHz PWM signal at SCT0_IN1  = P0.24 (SW1)


Build procedures:
-------------------------------
Visit the LPCOpen Quick start guide at
[http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers/lpcopen-v200-quickstart-guides]
to get started building LPCOpen projects.
